import org.antlr.runtime.*;

public class simple_expression_eval {
    public static void main(String[] args) throws Exception {
	System.out.println("Creating lexer.");
        ANTLRInputStream input = new ANTLRInputStream(System.in);
        simple_expression_evalLexer lexer = new simple_expression_evalLexer(input);
	System.out.println("Creating token stream");
        CommonTokenStream tokens = new CommonTokenStream(lexer);
	for(Object token : tokens.getTokens()) {
		//System.out.println(token);
	}
	System.out.println("Creating parser");
        simple_expression_evalParser parser = new simple_expression_evalParser(tokens);
        parser.prog();
    }
}

